export interface PageReqDto {
    pageNum: number
    pageSize: number
}

export interface PageDto<T> {
    list: T[]
    totalCount: number
    hasNextPage: boolean
}

export interface AnyObject {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    [key: string]: any
}

export interface PageRowsDto<T> {
    rows: T[]
    total: number
    hasNextPage?: boolean
}

export interface AccountDetailReqDto {
    position: 1
    companyId: number
    startTime: string
    endTime: string
    productType: number //    子弹发薪 = 0, 电子签 = 1, 日日保 = 2, 长期保 = 3, 群发消息 = 6
    type: number //    充值 = 1, 提现 = 2, 转出 = 3, 转入 = 4
    pageSize: number
    pageNum: number
    selectType: number //    充值 = 0, 转账 = 1, 体现 = 2
    payMode: string
}

export interface AccountDetailDto {
    companyName: string
    productType: number
    status: number
    companyId: number
    voucherUrl: string
    operateAmount: number
    type: number
    createTime: string
    remark: string
    payMode: number
    channelName: string
    bankName: string
    receiptId: number
    id: number
    accountExpireTime: string
    rechargeAmount: number
    buySeatCount: number
    salesScenario: string
    seatExpirationTime: string
    startTime: string
    endTime: string
    startMonth: string
    endMonth: string
    position: number
    selectType: number
    visibleRemark?:boolean
}



// enum Color {
//     Red = 1,
//     Green = 2,
//     Blue = 3,
// }

// // 使用类型别名来创建一个联合类型，该类型包含枚举的所有值
// type ColorUnion = typeof Color[keyof typeof Color];

// let a: ColorUnion = 4